package com.jie.eduservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jie.eduservice.entity.EduTeacher;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jie.eduservice.entity.vo.TeacherQueryVO;

import java.util.Map;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author xzj
 * @since 2020-10-01
 */
public interface EduTeacherService extends IService<EduTeacher> {

    // 按条件分页查询
    Page<EduTeacher> pageTeacherCondition(Long current, Long limit, TeacherQueryVO teacherQueryVO);

    /**
     * 分页查询讲师的方法
     * @param current  当前页
     * @param limit    每页多少条数据
     * @return         返回查询到的数据
     */
    Map<String, Object> getTeacherFrontList(Long current, Long limit);

}
